<template>
	<view>

	</view>
</template>


<script>
	import {
		getUrl
	} from '@/api/userApi.js'

	export default {
		data() {
			return {
				token: null,
				paraString:''
			}
		},

		/**
		 * 生命周期函数--监听页面加载
		 */
		onLoad(options) {
			
		},

		methods: {
			getUrl() {
				let params = {};
				getUrl(params).then(res => {
					let url = res.data.url
					console.log("url:", url)
					window.location.href = url
				})
			},
		}
	}
</script>

<style>
</style>
